@charset "UTF-8";

:root{
    --color-border:#eee;
}
/* 通用重置样式 */
html,body{
    margin: 0;
    padding: 0;
}

.btn{
    display: inline-block;
    min-width: 100px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    background-color: #2476ff;
    color: #FFF;
    cursor: pointer;
    border-radius: 5px;
}

ul,li{
    margin: 0;
    padding: 0;
    list-style: none;
    color: #555;
}
a{text-decoration: none ;}

::-webkit-scrollbar{
    width: 10px;
    height: 8px;
    background-color: #515a6e;
    -webkit-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}
::-webkit-scrollbar:hover{
    background-color: #d1d1d1;
}
::-webkit-scrollbar-thumb{
    background-color: rgba(23, 35, 61, 0.6);
    height: 50px;
    -webkit-border-radius:5px;
    border-radius:5px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active{
    background-color:rgba(23, 35, 61, 0.8);
    border-right: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
}
::-webkit-scrollbar-track{
    background-color:#fff;
}
::-webkit-scrollbar-track:hover{
    background-color:#fff;
}
/* =======================通用样式========================== */
.container{
    width: 70%;
    margin: 0 auto;
}
.menu {}
.menu li{
    height: 40px;
    line-height: 40px;
}
.menu li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 40px;
    color: #FFF;
    font-size: 18px;
}
.menu li a.active{
    color: #FFF;
    background-color: deepskyblue;
}
/* =======================布局样式========================== */
/* 导航 */
.nav {
    display: flex;
    height: 50px;
    line-height: 50px;
    /*background-color: lightskyblue;*/
}

.nav a {
    min-width: 100px;
    display: inline-block;
    text-align: center;
    padding: 0 10px;
    color: #666;
    font-size: 20px;
    text-decoration: none;
}

.nav a.active{
    color: #FFF;
    background-color: #396aff;
}

.header{
    width: 100%;
    height: 50px;
    color: #666;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
}
.main{
    width: 100%;
    height: 700px;
    color: #555;
    font-size: 18px
}
.main .aside{
    float: left;
    width: 298px;
    height: 100%;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}
.main .content{
    float: left;
    height: 100%;
    margin: 0 auto;
    font-size: 30px;
    border: 1px solid var(--color-border);
}

.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    border: 1px solid var(--color-border);
}

/* =====================页面样式============================= */

.home-container .main .content,.about-container .main .content,.users-container .main .content{
    width: calc(100% - 302px);
}
.home-container .main .content .list-goods{
    width: 100%;
    height: 100%;
    min-width: 900px;
    overflow-y: scroll;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.home-container .main .content .list-goods .item{
    width: 200px;
    height: 290px;
    margin: 5px;
    padding: 10px 15px;
    border:1px solid #eee;
    cursor: pointer;
}
